import request from '@/utils/request'

// 查询求租会员列表
export function listAVipRent(query) {
  return request({
    url: '/system/aVipRent/list',
    method: 'get',
    params: query
  })
}

// 查询求租会员详细
export function getAVipRent(id) {
  return request({
    url: '/system/aVipRent/' + id,
    method: 'get'
  })
}

// 新增求租会员
export function addAVipRent(data) {
  return request({
    url: '/system/aVipRent',
    method: 'post',
    data: data
  })
}

// 修改求租会员
export function updateAVipRent(data) {
  return request({
    url: '/system/aVipRent',
    method: 'put',
    data: data
  })
}

// 删除求租会员
export function delAVipRent(id) {
  return request({
    url: '/system/aVipRent/' + id,
    method: 'delete'
  })
}

// 逻辑删除求租会员
export function logicDelAVipRent(id) {
  return request({
    url: '/system/aVipRent/logicDel/' + id,
    method: 'delete'
  })
}
